package com.jiakai.cashinterfacemucon.dao;

import com.jiakai.cashinterfacemucon.model.Relation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Relation record);

    int insertSelective(Relation record);

    Relation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Relation record);

    int updateByPrimaryKey(Relation record);

    int deleteByProductID(@Param("productID") String productID, @Param("the3rd") String the3rd);

    List<Relation> selectByProductID(@Param("productID") String productID, @Param("the3rd") String the3rd);

    int insertRelation(String productID, String PID3rd, String the3rd);
}